#pragma once

#include <bullet/btBulletDynamicsCommon.h>
#include <GL/glew.h>

void myBox(float, float, float);

class World
{
public:
	World();
	~World();
	void draw(float);
	void addRigidBody(btRigidBody *body);
	btTransform *getTransform();

private:
	btDiscreteDynamicsWorld				*myWorld;
	btBroadphaseInterface				*myBroadphase;
  	btCollisionDispatcher				*myDispatcher;
  	btDefaultCollisionConfiguration		*myCollisionConfiguration;
  	btSequentialImpulseConstraintSolver	*mySequentialImpulseConstraintSolver;
  	btTransform							myTransform;
  	btDefaultMotionState				*myMotionState_Sol;
	btScalar matrix[16];
  	btRigidBody 						*body_sol;
  	btScalar 							mass;
};